Skip to content

aspose-diagram-cloud/aspose-diagram-cloud-java

Repository files navigation

GitHub last commit GitHub license

Java Cloud REST API for Visio Processing

Aspose.Diagram Cloud SDK for Java wraps the Aspose.Diagram REST API which allows developers to view, export and convert Microsoft Visio format files to various other formats including fixed-layout, web and images.

Visio Processing Features

  • Convert diagrams to 20+ different file formats.
  • Retrieve document information of a Visio diagram.
  • Programmatically create a new Microsoft Visio diagram file.
  • Convert Visio flow-charts to other supported formats.
  • Upload your business-oriented Visio diagrams to cloud storage.
  • Export Visio files to raster images, fixed-layout, and HTML formats.

Read Diagrams From

Microsoft Visio VSDX, VDX, VSD, VSX, VTX, VSSX, VSTX, VSDM, VSSM, VSTM, VDW, VSS, VST

Save Diagrams As

Microsoft Visio VSDX, VDX, VSX, VTX, VSSX, VSTX, VSDM, VSSM, VSTM Fixed-Layout PDF, XPS Multimedia SWF, SVG, EMF, JPEG, PNG, BMP, TIFF Web HTML

Integrated Storage API

  • Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default).
  • Create, copy, move and delete folders.
  • Copy and move files and folders accross separate storages in scope of a single operation.
  • Check if certain file, folder or storage exists.

Get Started with Aspose.Diagram Cloud SDK for Java

Register an account at Aspose Cloud Dashboard to get you application information. Next, add the following dependency to your project's POM to automatically fetch the required artifacts.

<dependencies>
	<dependency>
		<groupId>com.aspose</groupId>
		<artifactId>aspose-diagram-cloud</artifactId>
		<version>21.1</version>
	</dependency>
</dependencies>
<repositories>
	<repository>
		<id>AsposeJavaAPI</id>
		<name>Aspose Java API</name>
		<url>https://repository.aspose.cloud/repo/</url>
	</repository>
</repositories>

Create VDX Diagram in Java

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	DiagramApi api = new DiagramApi("client_credentials", "MY_CLIENT_ID", "MY_CLIENT_SECRET");

	String fileName = "sample.vdx";
	String folder = "my_output";
	Boolean is_overwrite = "true";
	CreateNewResponse response = api.postDiagramConvert(fileName, folder, is_overwrite);

Aspose.Diagram Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js Android Perl Swift
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM Maven CPAN POD

Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial